home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio / Ray Dream Studio (CDRAYD1) (Ray Dream) (1995).iso / DREAMSDK.WIN / INCLUDE / I3DEXSCO.H < prev    next >
C/C++ Source or Header  |  1995-10-27  |  3KB  |  62 lines

  1. /* $Id: i3Dexsco.h 1.1 1995/10/24 20:17:14 PascalF Exp $ */
  2. /*****************************************************************************\
  3. *                                                                             *
  4. * I3DExScO.h -     I3DExSceneOperation definition                                            *
  5. *                                                                             *
  6. *           Copyright (c) 1995, Ray Dream, Inc. All rights reserved.          *
  7. *                                                                             *
  8. \*****************************************************************************/
  9.  
  10. #ifndef __I3DEXSCO__
  11. #define __I3DEXSCO__
  12.  
  13. #ifndef __I3DEX__
  14. #include "I3DEx.h"
  15. #endif
  16.  
  17. #ifndef __I3DSHSCN__
  18. #include "I3DShScn.h"
  19. #endif
  20.  
  21. #ifndef __I3DSHTRE__
  22. #include "I3DShTre.h"
  23. #endif
  24.  
  25. //****** Globally Unique Ids *************************************************
  26.  
  27. DEFINE_GUID(IID_I3DExSceneOperation,0x1705bf20l,0xad8,0x11cf,0xa4,0xf7,0x0,0x0,0xe2,0x2,0xd5,0xa5);
  28.  
  29. /*****************************************************************************\
  30. *  I3DExSceneOperation                                                        *
  31. *                                                                             *
  32. *  Scene Operation                                                            *
  33. *                                                                             *
  34. \*****************************************************************************/
  35.  
  36. #undef  INTERFACE
  37. #define INTERFACE   I3DExSceneOperation
  38.  
  39. DECLARE_INTERFACE_(I3DExSceneOperation, I3DExDataExchanger) {
  40.     // IUnknown methods
  41.   STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  42.   STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  43.   STDMETHOD_(ULONG, Release) (THIS) PURE;
  44.   
  45.     // I3DExtension methods
  46.     STDMETHOD_(I3DExtension*, Clone) (THIS) PURE;
  47.     STDMETHOD(ShellUtilitiesInit) (THIS_ IShUtilities* shellUtilities) PURE;
  48.  
  49.   // I3DExDataExchanger methods
  50.     STDMETHOD_(ExtensionDataMap*, GetExtensionDataMap) (THIS) PURE;
  51.     STDMETHOD_(void*, GetExtensionDataBuffer) (THIS) PURE;
  52.   STDMETHOD(ExtensionDataChanged) (THIS) PURE;
  53.   STDMETHOD(HandleEvent) (THIS_ ULONG sourceID) PURE;
  54.     STDMETHOD_(short, GetResID) (THIS) PURE;
  55.   
  56.   // I3DExSceneOperation methods
  57.   STDMETHOD(Prepare) (THIS_ I3DShScene* scene, I3DShTreeElement* tree, long index, long total) PURE;
  58.     STDMETHOD_(Boolean, DoIt) (THIS_ I3DShScene* scene, I3DShTreeElement* tree, long index, long total) PURE;
  59.     };
  60.  
  61. #endif
  62.